P = int(input())
N = int(input())
i = float(input())
F = P * pow((1 + i),N)
print(f'利息={F-P:.2f}')